import config from "@/config"
import http from "@/utils/request"

export default {
	task: {
		url: `${config.API_URL}/task`,
		get: async function(data,  config={}){
			return await http.get(this.url, data,  config);
		}
	},
	salary: {
		url: `${config.API_URL}/task/salary`,
		post: async function(data){
			return await http.post(this.url, data);
		}
	},
	unSalary: {
		url: `${config.API_URL}/task/unSalary`,
		post: async function(data){
			return await http.post(this.url, data);
		}
	},
	wxconfig: {
		url: `${config.API_URL}/wxconfig`,
		get: async function(data,  config={}){
			return await http.get(this.url, data,  config);
		}
	},
	salaryDay: {
		url: `${config.API_URL}/salary`,
		get: async function(data,  config={}){
			return await http.get(this.url, data,  config);
		}
	},
	unSalaryManage: {
		url: `${config.API_URL}/salary/unSalary/manage`,
		post: async function(data){
			return await http.post(this.url, data);
		}
	}

	
}
